﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace zibaomaoPC
{
    class Deck
    {
        public enum USER_OPERATE
        {
            DRAW_CARD,
            PLAY_CARD,
            PLAY_DEFUSE_CARD,
            NOTHING
        }
        public static int MAX_USER = 4;//卡组最多4个人玩
        public static int USER_INIT_CARD_NUMBER = 5;//初始化每人5张牌
        public static int USER_OPERATION_TIMEOUT = 3;//每个人的动作是10秒
        public long currentUserID = 0;
        public long lastOperationTime = 0L;
        public string currentDirection;
        public string state;
        public USER_OPERATE[] userOperate;

        public long lastPlayer = 0L;
        public BaseCard lastPlayCard;
        public USER_OPERATE lastUserOperate = USER_OPERATE.NOTHING;

        public long winPlayer = 0L;
        public int remainRounds =1;
        public Dictionary<long, List<BaseCard>> Users { get; set; }
    }
}
